<extend name="Public:base"/>
<block name="title"> 武汉同兴一站办企业服务有限公司 管理中心 - 添加分类 </block>

<block name="header">
    <span class="action-span"><a href="#">编辑</a></span>
    <span class="action-span1"><a href="#">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <span id="search_id" class="action-span1"> - 编辑用户 </span>
    <div style="clear:both"></div>
</block>
<block name="body">

    <form action="{:U('User/edit')}" method="post" name="theForm" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <tr>
                <td class="label">用户id:</td>
                <td>
                    <input TYPE="hidden" name="user_id" value="{$info.user_id}">
                    <input type='text' name='user_id' maxlength="20" value="{$info.user_id}" size='27' disabled="disabled"/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">微信openID:</td>
                <td>
                    <input type='text' name='wechat_openid' maxlength="20" value="{$info.wechat_openid}" size='27' disabled="disabled/> <font color="red">*</font>
                </td>
            </tr>
         	<tr>
                <td class="label">账号:</td>
                <td>
                    <input type='text' name='username' maxlength="20" value='{$info.username}' size='27' disabled="disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label"> 用户图像:</td>
                <td>
                    <img style="width: 200px;height: 150px;display: block" src="{$info.user_img}" /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">用户状态:</td>
           
                <td>

                    <input type="radio" name="state" value="0" <if condition="$info.state eq 0">checked</if>>已封号
                    <input type="radio" name="state" value="1" <if condition="$info.state eq 1">checked</if>>未实名认证
                    <input type="radio" name="state" value="2" <if condition="$info.state eq 2">checked</if>>已实名认证


            
            </tr>
            <tr>
                <td class="label">用户名:</td>
                <td>
                    <input type='text' name='name' maxlength="20" value='{$info.name}' size='27' disabled="disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">电话号码:</td>
                <td>
                    <input type='text' name='phone' maxlength="20" value='{$info.phone}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">公司名称:</td>
                <td>
                    <input type='text' name='corporate' maxlength="20" value='{$info.corporate}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">职位:</td>
                <td>
                    <input type='text' name='duty' maxlength="20" value='{$info.duty}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">邮箱:</td>
                <td>
                    <input type='text' name='email' maxlength="20" value='{$info.email}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">注册时间:</td>
                <td>
                    <input type='text' name='reg_time' maxlength="20" value="{$info.reg_time|date='Y-m-d H:i:s',###}" size='27' disabled="disabled"/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">注册来源:</td>
                <td>
                    <input type='text' name='reg_source' maxlength="20" value='{$info.reg_source}' size='27' disabled="disabled/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">邀请码:</td>
                <td>
                    <input type='text' name='Invite_code' maxlength="20" value='{$info.Invite_code}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">上级id:</td>
                <td>
                    <input type='text' name='superior_user_id' maxlength="20" value='{$info.corporate}' size='27' /> <font color="red">*</font>
                </td>
            </tr>
            
        </table>
        <div class="button-div">

            <input type="submit" value=" 确定 " />
        </div>
    </form>
</block>
